package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单--评论对象 order_comment
 * 
 * @author Wxl
 * @date 2022-03-28
 */
@Data
public class OrderComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 商户id */
    @Excel(name = "商户id")
    private Long shopId;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal rate;

    /** 头像图片 */
    @Excel(name = "头像图片")
    private String headImg;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
